/*******************************************************************************
 * Package: com.song.flowable.entity
 * Type:    DoneEanity
 * Date:    2022-02-02 17:18
 *
 * Copyright (c) 2022 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.aracky.flowable.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author zengzhiping
 * @BelongsPackage com.aracky.flowable.model.entity
 * @CreateTime 2022-08-16
 * @Description
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DoneTaskVO implements Serializable {

    @ApiModelProperty("任务id")
    private String taskId;

    @ApiModelProperty("任务名称")
    private String taskName;

    @ApiModelProperty("流程名称")
    private String processName;

    @ApiModelProperty("操作人姓名")
    private String approver;

    @ApiModelProperty("操作人id")
    private String approverId;

    @ApiModelProperty("表单名称")
    private String formName;

    @ApiModelProperty("业务id")
    private String businessKey;

    @ApiModelProperty("流程实例id")
    private String processInstanceId;

    @ApiModelProperty("租户id")
    private String systemSn;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("描述信息")
    private String desc;
}
